	
    {% if records %}
    <table>
    	<th>Rank</th>
    	<th>Track name</th>
    	<!--<th>Track Mode</th>-->
    	<th>Track Type</th>
    	<th>Character</th>
    	<th>Date</th>
    	<th>Proof</th>
    	<th>Time</th>
	
    	<!--<th>Penta</th>-->
		{% if record.getTrackMode().name == 'cheated' %}
    	<th>STP</th>
    	<th>Ice</th>
		{% endif %}
    	<th>Version</th>
    	<!--<th>State</th>-->

    {% for record in records %}
    	<tr>
			<td>{{ record.getRank() }}</td>
			<td>{{ record.getTrackName().name }}</td>
			<!--<td>{{ record.getTrackMode().name }}</td>-->
			<td>{{ record.getTrackType().name }}</td>
			<td>{{ record.getCharacter().getThumbImageHtml(40,30)|raw }}</td>	
		
			<td>{{ record.getDateAgo() }}</td>
			<td>
				<!--<iframe title="YouTube video player" width="240" height="195" src="{{ record.getProof().url }}" frameborder="0" allowfullscreen></iframe>-->
				{% if record.getProof() %}
					<a href="{{ record.getProof().url }}">[OK]</a>
				{% endif %}
			</td>	
			<td>{{ record }}</td>
		
			<!--<td>{{ record.penta }}</td>-->
			{% if record.getTrackMode().name == 'cheated' %}
			<td>{% if record.stp %}[YES]{% else %}[NO]{% endif %}</td>
			<td>{% if record.ice %}[YES]{% else %}[NO]{% endif %}</td>
			{% endif %}
			<td>{{ record.getVersion().getImageHtml()|raw }}</td>
			<!--<td>{{ record.state }}</td>-->
        </tr>
	{% endfor %}
	</table>
    {% else %}
    	No records
    {% endif %}